﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Google.GData.Client;
using Google.GData.Extensions;
using Google.GData.YouTube;
using Google.YouTube;


namespace YoutubeVideoManager
{
    static class Global
    {
        public static string Username
        {
            get { return YoutubeVideoManager.Properties.Settings.Default.Username; }
            set
            {
                YoutubeVideoManager.Properties.Settings.Default.Username = value;
                YoutubeVideoManager.Properties.Settings.Default.Save();
            }
        }
        public static string Password
        {
            get { return YoutubeVideoManager.Properties.Settings.Default.Password; }
            set
            {
                YoutubeVideoManager.Properties.Settings.Default.Password = value;
                YoutubeVideoManager.Properties.Settings.Default.Save();
            }
        }

        public static YouTubeRequest Request { get; set; }

        public static bool IsLogged { get; set; }

        public static Queue<Video> Playlist = new Queue<Video>();
    }
}
